Resource StructureDefinition/FHIR Server from package uk.nhsdigital.r4.test#2.10.1-prerelease (172 ms)
Resources that use this resource
Resources that this resource uses
Source
{
"resourceType" : "StructureDefinition",
"id" : "7236d711-c336-4716-ae3e-d68d9511fe0c",
"url" : "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Immunization",
"name" : "NHSDigitalImmunization",
"status" : "draft",
"fhirVersion" : "4.0.1",
"kind" : "resource",
"abstract" : false,
"type" : "Immunization",
"baseDefinition" : "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Immunization",
"derivation" : "constraint",
"differential" : {
"element" : [
{
"id" : "Immunization.extension",
"path" : "Immunization.extension",
"slicing" : {
"discriminator" : [
{
"type" : "value",
"path" : "url"
}
],
"rules" : "open"
},
"min" : 0
},
{
"id" : "Immunization.extension:parentPresent",
"path" : "Immunization.extension",
"sliceName" : "parentPresent",
"min" : 0,
"mustSupport" : false
},
{
"id" : "Immunization.extension:vaccinationProcedure",
"path" : "Immunization.extension",
"sliceName" : "vaccinationProcedure",
"definition" : "Where status=`completed` this is Mandatory\r\nThis relates to the vaccine that was administered (procedure) and is a SNOMED CT from {{link:https://fhir.hl7.org.uk/ValueSet/UKCore-VaccinationProcedure}}\r\n\r\nIn addition to the codes in the following codes are recommended.\r\n\r\n<table>\r\n<thead>\r\n<th data-no-sort >\r\nVaccination Procedure\r\n</th>\r\n<th data-no-sort >\r\nUK SNOMED self\r\n</th>\r\n</thead>\r\n<tr>\r\n<td>\r\nAdministration of first dose of SARS-CoV-2 (severe acute respiratory syndrome coronavirus 2) vaccine\r\n</td>\r\n<td>\r\n<a href=\"https://termbrowser.nhs.uk/?perspective=full&conceptId1=1324681000000101\" target=\"_blank\">1324681000000101</a>\r\n</td>\r\n</tr>\r\n<tr>\r\n<td>\r\nAdministration of second dose of SARS-CoV-2 (severe acute respiratory syndrome coronavirus 2) vaccine\r\n</td>\r\n<td>\r\n<a href=\"https://termbrowser.nhs.uk/?perspective=full&conceptId1=1324691000000104\" target=\"_blank\">1324691000000104</a>\r\n</td>\r\n</tr>\r\n</table>\r\n\r\n<br>\r\n\r\n```json\r\n\"extension\": [\r\n {\r\n \"url\": \"https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-VaccinationProcedure\",\r\n \"valueCodeableConcept\": {\r\n \"coding\": [\r\n {\r\n \"system\": \"http://snomed.info/sct\",\r\n \"code\": \"1324681000000101\",\r\n \"display\": \"Administration of first dose of severe acute respiratory syndrome coronavirus 2 vaccine (procedure)\"\r\n }\r\n ]\r\n }\r\n }\r\n ],\r\n```",
"min" : 0,
"mustSupport" : true,
"binding" : {
"strength" : "required",
"description" : "https://fhir.nhs.uk/ValueSet/NHSDigital-VaccinationProcedure"
}
},
{
"id" : "Immunization.identifier",
"path" : "Immunization.identifier",
"definition" : "#### identifier.system\r\n\r\nA URI for the system that has allocated the vaccination identifier.\r\nNote, this must be unique within a given Supplier system or instance of Supplier system\r\n\r\ne.g. \r\n1) Example of a âsingle instance for all customersâ Supplier system\r\n`https://supplierABC/identifiers/vacc`\r\n\r\n2) Example of âper customer instanceâ Supplier system\r\n`https://supplierABC/ODSCode/NKO41/identifiers/vacc`\r\n\r\n\r\n#### identifier.value\r\n\r\nA unique identifier for the vaccination record, that is consistent between any subsequent update or delete records.\r\n\r\nIdeally this would be a GUID / UUID\r\n\r\nValue in combination with UNIQUE_ID_URI must be globally unique\r\nIn other words, a combination of `identifier.value` and `identifier.system` act as composite primary key to allow lookup of any Adverse Reactions records from the corresponding Adverse Reaction data file.\r\n\r\n1) UUID example:\r\n`e045626e-4dc5-4df3-bc35-da25263f901e`\r\n\r\n2) Example of a âsingle instance for all customersâ Supplier system\r\n`ACME-vacc123456`\r\n\r\n3) Example of âper customer instanceâ Supplier system\r\n`ACME-CUSTOMER1-vacc123456`\r\n`ACME-CUSTOMER2-vacc123456`",
"min" : 1,
"mustSupport" : true
},
{
"id" : "Immunization.identifier.system",
"path" : "Immunization.identifier.system",
"min" : 1
},
{
"id" : "Immunization.identifier.value",
"path" : "Immunization.identifier.value",
"min" : 1
},
{
"id" : "Immunization.status",
"path" : "Immunization.status",
"definition" : "For a vaccination that has been administered, the status will be `completed`. This status **does not** indicate a vaccination course has been completed.\r\nWhen the vaccination has not been administered, the status will be `not-done` and a statusReason should be supplied.",
"mustSupport" : true
},
{
"id" : "Immunization.statusReason",
"path" : "Immunization.statusReason",
"binding" : {
"strength" : "required",
"valueSet" : "https://fhir.nhs.uk/ValueSet/NHSDigital-ReasonImmunizationNotAdministered"
}
},
{
"id" : "Immunization.statusReason.coding",
"path" : "Immunization.statusReason.coding",
"min" : 1
},
{
"id" : "Immunization.statusReason.coding.system",
"path" : "Immunization.statusReason.coding.system",
"min" : 1
},
{
"id" : "Immunization.statusReason.coding.code",
"path" : "Immunization.statusReason.coding.code",
"min" : 1
},
{
"id" : "Immunization.statusReason.coding.display",
"path" : "Immunization.statusReason.coding.display",
"min" : 1
},
{
"id" : "Immunization.vaccineCode",
"path" : "Immunization.vaccineCode",
"definition" : "Where status is `completed` this is Mandatory. This indicates vaccine product administered. This should be a SNOMED CT code from {{link:https://fhir.hl7.org.uk/ValueSet/UKCore-VaccineCode}}\r\nAMPP codes should not be used.\r\n\r\n<table>\r\n<thead>\r\n<th data-no-sort width=\"20%\">\r\nVaccine Reference Set\r\n</th>\r\n<th data-no-sort width=\"25%\">\r\nUK SNOMED Members Of\r\n</th>\r\n<th data-no-sort width=\"25%\">\r\nUK SNOMED Descendents Of\r\n</th>\r\n</thead>\r\n<tr>\r\n<td>\r\nMeningococcal ACWY vaccines\r\n</td>\r\n<td>\r\n<a href=\"https://termbrowser.nhs.uk/?perspective=full&conceptId1=999000811000001105\" target=\"_blank\">999000811000001105</a>\r\n</td>\r\n<td>\r\n</td>\r\n</tr>\r\n<tr>\r\n<td>\r\nInfluenza vaccines prescribable within general practice\r\n</td>\r\n<td>\r\n<a href=\"https://termbrowser.nhs.uk/?perspective=full&conceptId1=12465201000001105\" target=\"_blank\">12465201000001105</a>\r\n</td>\r\n<td>\r\n</td>\r\n</tr>\r\n<tr>\r\n<td>\r\nMeningococcal B vaccines\r\n</td>\r\n<td>\r\n<a href=\"https://termbrowser.nhs.uk/?perspective=full&conceptId1=999000831000001104\" target=\"_blank\">999000831000001104</a>\r\n</td>\r\n<td>\r\n</td>\r\n</tr>\r\n<tr>\r\n<td>\r\nPneumococcal vaccines\r\n</td>\r\n<td>\r\n<a href=\"https://termbrowser.nhs.uk/?perspective=full&conceptId1=999000841000001106\" target=\"_blank\">999000841000001106</a>\r\n</td>\r\n<td>\r\n</td>\r\n</tr>\r\n<tr>\r\n<td>\r\nSeasonal Flu vaccines\r\n</td>\r\n<td>\r\n<a href=\"https://termbrowser.nhs.uk/?perspective=full&conceptId1=999000821000001101\" target=\"_blank\">999000821000001101</a>\r\n</td>\r\n<td>\r\n</td>\r\n</tr>\r\n<tr>\r\n<td>\r\nCOVID-19 vaccines\r\n</td>\r\n<td>\r\n</td>\r\n<td>\r\n<a href=\"https://termbrowser.nhs.uk/?perspective=full&conceptId1=39330711000001103\" target=\"_blank\">39330711000001103</a>\r\n</td>\r\n</tr>\r\n</table>\r\n\r\n<br>\r\n\r\n```json\r\n\"vaccineCode\": {\r\n \"coding\": [\r\n {\r\n \"system\": \"http://snomed.info/sct\",\r\n \"code\": \"39114911000001105\",\r\n \"display\": \"COVID-19 Vaccine AstraZeneca (ChAdOx1 S [recombinant]) 5x10,000,000,000 viral particles/0.5ml dose solution for injection multidose vials (AstraZeneca)\"\r\n }\r\n ]\r\n },\r\n```\r\n\r\n<br>\r\n\r\nFor EU/international purposes, a vaccination type code can be also be included. The SNOMED CT concept should be from [Vaccines (GPS) - IPS](http://hl7.org/fhir/uv/ips/ValueSet/vaccines-gps-uv-ips) and [EU SNOMED CT Vaccine List (COVID-19)](https://build.fhir.org/ig/hl7-eu/dgc/ValueSet-sct-vaccines-covid-19.html)\r\n\r\n```json\r\n\"vaccineCode\": {\r\n \"coding\": [\r\n {\r\n \"system\": \"http://snomed.info/sct\",\r\n \"code\": \"39114911000001105\",\r\n \"display\": \"COVID-19 Vaccine AstraZeneca (ChAdOx1 S [recombinant]) 5x10,000,000,000 viral particles/0.5ml dose solution for injection multidose vials (AstraZeneca)\"\r\n },\r\n {\r\n \"system\": \"http://snomed.info/sct\",\r\n \"code\": \"1119305005\",\r\n \"display\": \"SARS-CoV-2 antigen vaccine\"\r\n }\r\n ]\r\n },\r\n```",
"binding" : {
"strength" : "extensible",
"valueSet" : "https://fhir.nhs.uk/ValueSet/NHSDigital-VaccineCode"
}
},
{
"id" : "Immunization.vaccineCode.coding",
"path" : "Immunization.vaccineCode.coding",
"min" : 1,
"mustSupport" : true
},
{
"id" : "Immunization.vaccineCode.coding.system",
"path" : "Immunization.vaccineCode.coding.system",
"min" : 1
},
{
"id" : "Immunization.vaccineCode.coding.code",
"path" : "Immunization.vaccineCode.coding.code",
"min" : 1
},
{
"id" : "Immunization.vaccineCode.coding.display",
"path" : "Immunization.vaccineCode.coding.display",
"min" : 1
},
{
"id" : "Immunization.patient",
"path" : "Immunization.patient",
"definition" : "A traced NHS Number **SHOULD** be provided and when applicable a resource reference to the Patient resource.\r\n\r\n```json\r\n\"patient\": {\r\n \"reference\": \"urn:uuid:edea022a-2d81-11eb-adc1-0242ac120002\",\r\n \"type\": \"Patient\",\r\n \"identifier\": {\r\n \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",\r\n \"value\": \"9912003888\"\r\n }\r\n },\r\n```",
"type" : [
{
"code" : "Reference",
"targetProfile" : [
"https://fhir.nhs.uk/StructureDefinition/NHSDigital-Patient-Minimal"
]
}
],
"constraint" : [
{
"key" : "patient-reference",
"severity" : "warning",
"human" : "subject - An identifier reference or resource reference must be provided",
"expression" : "(reference.exists() or (identifier.exists()))",
"source" : "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Immunization"
},
{
"key" : "patient-nhs",
"severity" : "error",
"human" : "Length of the supplied NHS Number is wrong.",
"expression" : "identifier.where(system='https://fhir.nhs.uk/Id/nhs-number').exists().not() or (identifier.where(system='https://fhir.nhs.uk/Id/nhs-number').exists() and identifier.where(system='https://fhir.nhs.uk/Id/nhs-number').value.matches('^([0-9]{10})$'))",
"source" : "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Immunization"
}
],
"mustSupport" : true
},
{
"id" : "Immunization.patient.identifier",
"path" : "Immunization.patient.identifier",
"min" : 1
},
{
"id" : "Immunization.patient.identifier.system",
"path" : "Immunization.patient.identifier.system",
"min" : 1,
"fixedUri" : "https://fhir.nhs.uk/Id/nhs-number"
},
{
"id" : "Immunization.patient.identifier.value",
"path" : "Immunization.patient.identifier.value",
"min" : 1
},
{
"id" : "Immunization.occurrence[x]",
"path" : "Immunization.occurrence[x]",
"definition" : "The date and time on which the vaccination intervention was carried out or was meant to be administered.",
"type" : [
{
"code" : "dateTime"
}
],
"mustSupport" : true
},
{
"id" : "Immunization.recorded",
"path" : "Immunization.recorded",
"definition" : "The date that the vaccination administered (procedure) or not administered (situation) was recorded in the source system.",
"mustSupport" : true
},
{
"id" : "Immunization.primarySource",
"path" : "Immunization.primarySource",
"definition" : "Set as TRUE when the content of the record is based on information from the person performing the vaccine or who has clinical responsibility for the vaccination, and the system can be considered a primary source of the vaccination event.\r\nSet as FALSE when the information has NOT come directly from people performing the vaccine (e.g. a patient or patientâs carer), and the system should not be treated as a primary source for this record.\r\nThis is used to help identify and eliminate duplicate records held centrally.",
"min" : 1,
"mustSupport" : true
},
{
"id" : "Immunization.reportOrigin",
"path" : "Immunization.reportOrigin",
"definition" : "Where primarySource=`false`, \r\n- The ODS code should be set to the location of the primary source of the data where the report of the vaccination event is held\r\n \r\nWhere primarySource=`false` and the vaccination event has been stored in local Primary Care System. \r\n- The ODS code should be set to the ODS code of the organisation where the event has been stored e.g. GP practice or PCN. \r\nNote this field will be used to determine whether or not to send the vaccination event to the patientâs registered GP\r\n\r\n```json\r\n\r\n\"reportOrigin\": {\r\n \"text\": \"RR8 - LEEDS TEACHING HOSPITALS NHS TRUST\"\r\n },\r\n```",
"mustSupport" : true
},
{
"id" : "Immunization.location",
"path" : "Immunization.location",
"definition" : "Country where the vaccination took place. This should follow [Using ISO 3166 Country Codes with FHIR](https://hl7.org/fhir/iso3166.html) or a SNOMED Country Code.\r\n\r\n```json\r\n\r\n\"location\": {\r\n \"identifier\": {\r\n \"system\": \"urn:iso:std:iso:3166\",\r\n \"value\": \"FR\"\r\n },\r\n \"display\": \"France\"\r\n },\r\n```",
"mustSupport" : true
},
{
"id" : "Immunization.manufacturer",
"path" : "Immunization.manufacturer",
"definition" : "Manufacturer of vaccine product. Only the `display` is expected to be populated.\r\n\r\n```json\r\n\r\n\"manufacturer\": {\r\n \"display\": \"DREAMLAND Pharmaceuticals Ltd\"\r\n },\r\n```",
"mustSupport" : true
},
{
"id" : "Immunization.manufacturer.display",
"path" : "Immunization.manufacturer.display",
"min" : 1
},
{
"id" : "Immunization.lotNumber",
"path" : "Immunization.lotNumber",
"definition" : "Where status=`completed` this is Mandatory.\r\nThis should be captured at source ideally via use of automated scanning technology (GS1 GTIN / NTIN standard).\r\n\r\n```json\r\n\r\n \"lotNumber\": \"R04X\",\r\n```",
"mustSupport" : true
},
{
"id" : "Immunization.expirationDate",
"path" : "Immunization.expirationDate",
"definition" : "Shorter date of either:\r\n\r\n- Manufacturer expiry date of the vaccine\r\n- Coronavirus point of care sites will only put in the defrost expiry date",
"mustSupport" : true
},
{
"id" : "Immunization.site",
"path" : "Immunization.site",
"definition" : "Body site vaccine was administered into. A SNOMED Concept ID value from UK published reference set âVaccine body site of administration simple reference setâ (1127941000000100) should be used {{link:https://fhir.hl7.org.uk/ValueSet/UKCore-BodySite}}\r\n\r\n```json\r\n\r\n\"site\": {\r\n \"coding\": [\r\n {\r\n \"system\": \"http://snomed.info/sct\",\r\n \"code\": \"368208006\",\r\n \"display\": \"Left upper arm structure (body structure)\"\r\n }\r\n ]\r\n },\r\n```",
"mustSupport" : true,
"binding" : {
"strength" : "extensible",
"valueSet" : "https://fhir.hl7.org.uk/ValueSet/UKCore-BodySite"
}
},
{
"id" : "Immunization.site.coding",
"path" : "Immunization.site.coding",
"min" : 1
},
{
"id" : "Immunization.site.coding.system",
"path" : "Immunization.site.coding.system",
"min" : 1
},
{
"id" : "Immunization.site.coding.code",
"path" : "Immunization.site.coding.code",
"min" : 1
},
{
"id" : "Immunization.site.coding.display",
"path" : "Immunization.site.coding.display",
"min" : 1
},
{
"id" : "Immunization.route",
"path" : "Immunization.route",
"definition" : "A SNOMED concept ID value from either of the following should be used:\r\nUK âePrescribing route of administration simple reference set (foundation metadata concept)â (999000051000001100) [UKCore-MedicationDosageRoute](https://simplifier.net/resolve?target=simplifier&scope=uk.nhsdigital.r4&canonical=https://fhir.hl7.org.uk/ValueSet/UKCore-MedicationDosageRoute}\r\nOr:\r\nUK published reference set âVaccine route of administration simple reference setâ (115231000001104)\r\n\r\n\r\n```json\r\n\r\n \"route\": {\r\n \"coding\": [\r\n {\r\n \"system\": \"http://snomed.info/sct\",\r\n \"code\": \"78421000\",\r\n \"display\": \"Intramuscular route (qualifier value)\"\r\n }\r\n ]\r\n },\r\n```",
"mustSupport" : true
},
{
"id" : "Immunization.doseQuantity",
"path" : "Immunization.doseQuantity",
"definition" : "A dm+d (SNOMED) Concept ID value representing the Unit of measure used.\r\n\r\nFor COVID-19 a reference set has been published here: https://dd4c.digital.nhs.uk/dd4c/publishedmetadatas/intid/980?size=10\r\n\r\n```json\r\n\r\n \"doseQuantity\": {\r\n \"value\": 1,\r\n \"unit\": \"pre-filled disposable injection\",\r\n \"system\": \"http://snomed.info/sct\",\r\n \"code\": \"3318611000001100\"\r\n },\r\n```",
"mustSupport" : true
},
{
"id" : "Immunization.performer",
"path" : "Immunization.performer",
"definition" : "The organisation ODS code of the location where the vaccination event took place with corresponding system of `https://fhir.nhs.uk/Id/ods-organization-code`. For roving teams on home visits or care home visits use the site code of the responsible site e.g. GP practice or dedicated vaccination site. It is strongly recommend the name of the Organisation is present in the display field.\r\n\r\nVaccination professional should be recorded using professional codes, see [NHSDigital-Practitioner](https://simplifier.net/guide/nhsdigital/NHSDigital-Practitioner) for details.\r\n\r\n\r\n```json\r\n\r\n\"performer\": [\r\n {\r\n \"actor\": {\r\n \"type\": \"Practitioner\",\r\n \"identifier\": {\r\n \"system\": \"https://fhir.hl7.org.uk/Id/nmc-number\",\r\n \"value\": \"5566789\"\r\n },\r\n \"display\": \"HOLDING, Rafferty\"\r\n }\r\n },\r\n {\r\n \"actor\": {\r\n \"type\": \"Organization\",\r\n \"identifier\": {\r\n \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\",\r\n \"value\": \"C4B2A\"\r\n },\r\n \"display\": \"ELLAND ROAD STADIUM - COVID VACCINATION CENTRE\"\r\n }\r\n }\r\n ],\r\n```",
"mustSupport" : true
},
{
"id" : "Immunization.performer.actor",
"path" : "Immunization.performer.actor",
"type" : [
{
"code" : "Reference",
"profile" : [
"https://fhir.nhs.uk/StructureDefinition/NHSDigital-Reference"
],
"targetProfile" : [
"https://fhir.nhs.uk/StructureDefinition/NHSDigital-Organization",
"https://fhir.nhs.uk/StructureDefinition/NHSDigital-PractitionerRole",
"https://fhir.nhs.uk/StructureDefinition/NHSDigital-Practitioner"
]
}
],
"constraint" : [
{
"key" : "usercode-reference",
"severity" : "error",
"human" : "An identifier reference or resource reference must be provided",
"expression" : "(reference.exists() or identifier.exists())",
"source" : "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Immunization"
},
{
"key" : "usercode-nmc",
"severity" : "error",
"human" : "NMC must be of the format NNANNNNA",
"expression" : "identifier.exists().not() or identifier.where(system='https://fhir.hl7.org.uk/Id/nmc-number').exists().not() or (identifier.where(system='https://fhir.hl7.org.uk/Id/nmc-number').exists() and identifier.where(system='https://fhir.hl7.org.uk/Id/nmc-number').value.matches('^[0-9]{2}[A-Z]{1}[0-9]{4}[A-Z]{1}$'))",
"source" : "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Immunization"
},
{
"key" : "usercode-gmp",
"severity" : "error",
"human" : "GMP must be of the format GNNNNNNN and not be a spurious code (starts with G6 or G7)",
"expression" : "identifier.exists().not() or identifier.where(system='https://fhir.hl7.org.uk/Id/gmp-number').exists().not() or (identifier.where(system='https://fhir.hl7.org.uk/Id/gmp-number').exists() and identifier.where(system='https://fhir.hl7.org.uk/Id/gmp-number').value.matches('^[G]{1}[01234589]{1}[0-9]{6}$'))",
"source" : "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Immunization"
},
{
"key" : "usercode-gmc",
"severity" : "error",
"human" : "GMC must be of the format CNNNNNNN",
"expression" : "identifier.exists().not() or identifier.where(system='https://fhir.hl7.org.uk/Id/gmc-number').exists().not() or (identifier.where(system='https://fhir.hl7.org.uk/Id/gmc-number').exists() and identifier.where(system='https://fhir.hl7.org.uk/Id/gmc-number').value.matches('^[C]{1}[0-9]{7}$'))",
"source" : "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Immunization"
},
{
"key" : "usercode-gphc",
"severity" : "error",
"human" : "GPHC must be of the format NNNNNNN",
"expression" : "identifier.exists().not() or identifier.where(system='https://fhir.hl7.org.uk/Id/gphc-number').exists().not() or (identifier.where(system='https://fhir.hl7.org.uk/Id/gphc-number').exists() and identifier.where(system='https://fhir.hl7.org.uk/Id/gphc-number').value.matches('^[0-9]{7}$'))",
"source" : "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Immunization"
},
{
"key" : "usercode-hcpc",
"severity" : "error",
"human" : "HCPC must be of the format AANNNNNN",
"expression" : "identifier.exists().not() or identifier.where(system='https://fhir.hl7.org.uk/Id/hcpc-number').exists().not() or (identifier.where(system='https://fhir.hl7.org.uk/Id/hcpc-number').exists() and identifier.where(system='https://fhir.hl7.org.uk/Id/hcpc-number').value.matches('^[A-Z]{2}[0-9]{6}$'))",
"source" : "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Immunization"
},
{
"key" : "usercode-din",
"severity" : "error",
"human" : "DIN format must be NNNNNN",
"expression" : "identifier.exists().not() or identifier.where(system='https://fhir.hl7.org.uk/Id/din-number').exists().not() or (identifier.where(system='https://fhir.hl7.org.uk/Id/din-number').exists() and identifier.where(system='https://fhir.hl7.org.uk/Id/din-number').value.matches('^[0-9]{6}$'))",
"source" : "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Immunization"
},
{
"key" : "role-sds-role-profile",
"severity" : "error",
"human" : "SDS Role Profile Id must be 12 digits",
"expression" : "identifier.where(system='https://fhir.nhs.uk/Id/sds-role-profile-id').exists().not() or (identifier.where(system='https://fhir.nhs.uk/Id/sds-role-profile-id').exists() and identifier.where(system='https://fhir.nhs.uk/Id/sds-role-profile-id').value.matches('^[0-9]{12}$'))"
}
],
"mustSupport" : true
},
{
"id" : "Immunization.performer.actor.type",
"path" : "Immunization.performer.actor.type",
"min" : 1
},
{
"id" : "Immunization.performer.actor.identifier.system",
"path" : "Immunization.performer.actor.identifier.system",
"min" : 1
},
{
"id" : "Immunization.performer.actor.identifier.value",
"path" : "Immunization.performer.actor.identifier.value",
"min" : 1
},
{
"id" : "Immunization.reasonCode",
"path" : "Immunization.reasonCode",
"definition" : "A SNOMED Concept Id. For COVID19 and Flu see https://digital.nhs.uk/developer/api-catalogue/vaccination",
"mustSupport" : true,
"binding" : {
"strength" : "extensible",
"valueSet" : "https://fhir.nhs.uk/ValueSet/NHSDigital-ImmunizationExplanationReason"
}
},
{
"id" : "Immunization.reasonCode.coding",
"path" : "Immunization.reasonCode.coding",
"min" : 1,
"mustSupport" : true
},
{
"id" : "Immunization.reasonCode.coding.system",
"path" : "Immunization.reasonCode.coding.system",
"min" : 1
},
{
"id" : "Immunization.reasonCode.coding.code",
"path" : "Immunization.reasonCode.coding.code",
"min" : 1
},
{
"id" : "Immunization.reasonCode.coding.display",
"path" : "Immunization.reasonCode.coding.display",
"min" : 1
},
{
"id" : "Immunization.protocolApplied",
"path" : "Immunization.protocolApplied",
"mustSupport" : true
},
{
"id" : "Immunization.protocolApplied.targetDisease",
"path" : "Immunization.protocolApplied.targetDisease",
"mustSupport" : true,
"binding" : {
"strength" : "required",
"description" : "(Work in progress) The vaccine preventable disease the dose is being administered for.",
"valueSet" : "http://hl7.eu/fhir/ig/dgc/ValueSet/covid-19-diseases"
}
}
]
},
"text" : {
}
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.